package com.example.xpvideo.entity.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 *  商品申请列表
 * @author : 洪俊新
 * @date : 2021/7/21 17:24
 * @description:
 */
public class CommodityApplyRes {
    /**
     *主键
     * ${column.comment}
     * isnull 1
     */
    private Integer commodityId;
    /**
     * 商品创建时间
     * isnull 0
     */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime creatTime;

    /**
     * 店铺名称
     * isnull 0
     */            private String merchantsName;
    /**
     * 商品名
     * isnull 0
     */            private String commodityName;
    /**
     * 商品主图路径
     * isnull 0
     */            private String commodityMainPic;
    /**
     * 一级分类名字
     * isnull 0
     */            private String commodityOneTypeName;
    /**
     * 二级分类名字
     * isnull 0
     */            private String commodityTwoTypeName;

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public LocalDateTime getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(LocalDateTime creatTime) {
        this.creatTime = creatTime;
    }

    public String getMerchantsName() {
        return merchantsName;
    }

    public void setMerchantsName(String merchantsName) {
        this.merchantsName = merchantsName;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getCommodityMainPic() {
        return commodityMainPic;
    }

    public void setCommodityMainPic(String commodityMainPic) {
        this.commodityMainPic = commodityMainPic;
    }

    public String getCommodityOneTypeName() {
        return commodityOneTypeName;
    }

    public void setCommodityOneTypeName(String commodityOneTypeName) {
        this.commodityOneTypeName = commodityOneTypeName;
    }

    public String getCommodityTwoTypeName() {
        return commodityTwoTypeName;
    }

    public void setCommodityTwoTypeName(String commodityTwoTypeName) {
        this.commodityTwoTypeName = commodityTwoTypeName;
    }
}
